/**
 * @Author MrsGuo
 * version 1.0
 * @Date 2023-08-11 15:07
 */
package com.cl.erp_2301.Service.impl;

import com.cl.erp_2301.Service.CheckMarketService;
import com.cl.erp_2301.dto.MarketDTO;
import com.cl.erp_2301.mapper.CheckMarketMapper;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.util.Date;

@Service
public class CheckMarketServiceImpl implements CheckMarketService {
    @Resource
    private CheckMarketMapper checkMapper;

    @Override
    public void doCheckerMarket(Integer uuid,String checkername) {
        MarketDTO marketDTO=new MarketDTO<>();
        Date date=new Date();
        marketDTO.setCheckername(checkername);
        marketDTO.setChecktime(date);
        marketDTO.setUuid(uuid);
        checkMapper.doCheckerMarket(marketDTO);
    }
}
